package org.subject.dto;

import org.subject.entity.User;

import java.util.Date;

/**
 * 竞赛信息多对一 实例展示
 * Created by Administrator on 2017/4/25.
 */
public class UserToMessage {
    private Long messageId;
    private String messageTitle;
    private String contestRequirement;
    private Date registrationStartTime;
    private Date registrationEndTime;
    private Date startTime;
    private Date endTime;
    private Date createTime;
    private String messageContent;
    private User user;

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle;
    }

    public String getContestRequirement() {
        return contestRequirement;
    }

    public void setContestRequirement(String contestRequirement) {
        this.contestRequirement = contestRequirement;
    }

    public Date getRegistrationStartTime() {
        return registrationStartTime;
    }

    public void setRegistrationStartTime(Date registrationStartTime) {
        this.registrationStartTime = registrationStartTime;
    }

    public Date getRegistrationEndTime() {
        return registrationEndTime;
    }

    public void setRegistrationEndTime(Date registrationEndTime) {
        this.registrationEndTime = registrationEndTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "UserToMessage{" +
                "messageId=" + messageId +
                ", messageTitle='" + messageTitle + '\'' +
                ", contestRequirement='" + contestRequirement + '\'' +
                ", registrationStartTime=" + registrationStartTime +
                ", registrationEndTime=" + registrationEndTime +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", createTime=" + createTime +
                ", messageContent='" + messageContent + '\'' +
                ", user=" + user +
                '}';
    }
}
